package cn.tedu.v1.service;

import cn.tedu.v1.model.Prescription;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 处方 服务类
 * </p>
 *
 * @author tedu.cn
 * @since 2021-07-06
 */
public interface IPrescriptionService extends IService<Prescription> {

    void submitPrescription(Prescription prescription);

    List<Prescription> showAll();

    Prescription showPrescriptionById(Integer id);

    void pay(Integer prescriptionId);
}
